#pragma once
#include "ModBus/ModBusCollectManager.h"
#include "Fanuc/FanucCollectManager.h"
#include <vector>
#include <memory>

class GASU
{
private:
    /* data */
public:
    GASU(/* args */);
    ~GASU();

    void init();
    void start();
    void stop();

    void startModbus();
    void startFanuc();
private:
    //ModBusCollectManager *pModBusObj;
    std::unique_ptr<ModBusCollectManager> pModBusObj;
    std::unique_ptr<FanucCollectManager> pFanucObj;
    std::vector<std::thread> vec_Threads;
};



